'use strict'

module.exports = {
    name: "user",
    schema: {
        userRole: { type: Number, default: 1 },
        avatar: { type: String, default: '/img/default_avatar.jpg' },
        nickName: { type: String, default: '' },
        userName: String, // 用户名
        password: String, // 密码
        gender: { type: Number, default: 2 },
        createTime: Date
    }
};
